module.exports = function($scope,items,$resource,$modalInstance){
    $scope.info={};
    $scope.info=items;
    $scope.cancel = function () {
            $modalInstance.dismiss('cancel');
    }; 
        //图片回显
    // var imgjson=[];
    // var imgStr=items.pic_url.substr(2,items.pic_url.length-4);
    // var imgArr=imgStr.split("\",\"");
    // for(var j=0;j<imgArr.length;j++){
    // var json={};
    // json.img=imgArr[j];
    // imgjson.push(json);
    // }
    // $scope.imagearr=imgjson;
    // $scope.cancel = function () {
    //         $modalInstance.dismiss('cancel');
    // };  
}